package JD_CAST_COL_MIGHT;

import java.util.ArrayList;

public class Vulnerable_02 {
    ArrayList<Object> list = new ArrayList<Object>();
    public void setInfo() {
        list.add("name");
        list.add(new Integer(30));
    }
    public void display() {
        System.out.println("==>"+(String) list.get(0));
        System.out.println("==>"+(Integer) list.get(1));
    }
}
